home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
CD ROM Paradise Collection 4
/
CD ROM Paradise Collection 4 1995 Nov.iso
/
os2
/
adaptor.zip
/
ADAPT.ZIP
/
adaptor
/
src
/
xglobal.c
< prev
next >
Wrap
C/C++ Source or Header
|
1993-07-08
|
1KB
|
33 lines
#include "xglobal.h"
/***************************************************************************
* *
* Global Functions : Widget *
* *
***************************************************************************/
void set_filelabel ()
{ int n;
Arg args[2];
if (XtIsManaged (filelabel))
XtUnmanageChild (filelabel);
n = 0;
XtSetArg (args[n], XtNlabel, selected_file); n++;
XtSetValues (filelabel, args, n);
XtManageChild (filelabel);
}
void set_message ()
/* print the global string 'last_message' in the message widget */
{ int n;
Arg args[2];
if (XtIsManaged (message_widget))
XtUnmanageChild (message_widget);
n = 0;
XtSetArg (args[n], XtNlabel, last_message); n++;
XtSetValues (message_widget, args, n);
XtManageChild (message_widget);
}